home *** CD-ROM | disk | FTP | other *** search
- object SyntAnal15: TLibSyntAnalyzer
- Formats = <
- item
- DisplayName = 'Default'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- FormatType = ftCustomFont
- end
- item
- DisplayName = 'Marked block'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clHighlightText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- BgColor = clHighlight
- FormatType = ftColor
- end
- item
- DisplayName = 'Comment'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clRed
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Number'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clNavy
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'String'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlue
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- end
- item
- DisplayName = 'Symbol'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clMaroon
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Reserved word'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Identifier'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- end>
- TokenRules = <
- item
- DisplayName = 'Comment 1'
- StyleName = 'Comment'
- AlwaysEnabled = True
- TokenType = 1
- Expression = '(?s)\(\*.*?(\*\)|\Z)'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Any name'
- StyleName = 'Identifier'
- TokenType = 2
- Expression = '[a-z_]\w*'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'String'
- StyleName = 'String'
- TokenType = 4
- Expression = '".*?("|$)'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Float'
- StyleName = 'Number'
- TokenType = 6
- Expression = '\d+ \.? \d+ e [\+\-]? \d+ |'#13#10'\d+ \. \d+'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Integer'
- StyleName = 'Number'
- TokenType = 5
- Expression = '\d+'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Symbol'
- StyleName = 'Symbol'
- TokenType = 3
- Expression = '[/\*,\.;:\(\)=<>\+\-\[\]]'
- ColumnFrom = 0
- ColumnTo = 0
- end>
- BlockRules = <
- item
- DisplayName = 'Key words'
- StyleName = 'Reserved word'
- BlockType = btTagDetect
- ConditionList = <
- item
- TagList.Strings = (
- 'array'
- 'asm'
- 'begin'
- 'boolean'
- 'by'
- 'cardinal'
- 'case'
- 'char'
- 'class'
- 'const'
- 'definition'
- 'destroy'
- 'div'
- 'do'
- 'else'
- 'elsif'
- 'end'
- 'exit'
- 'export'
- 'for'
- 'foreign'
- 'from'
- 'if'
- 'implementation'
- 'import'
- 'inherit'
- 'init'
- 'inline'
- 'integer'
- 'longcard'
- 'longint'
- 'longreal'
- 'loop'
- 'mod'
- 'module'
- 'nil'
- 'of'
- 'pointer'
- 'procedure'
- 'real'
- 'record'
- 'repeat'
- 'return'
- 'set'
- 'then'
- 'to'
- 'type'
- 'until'
- 'var'
- 'while'
- 'with')
- TokenTypes = 4
- IgnoreCase = True
- end>
- HighlightPos = cpAny
- IgnoreAsParent = False
- end
- item
- DisplayName = 'Class start'
- ConditionList = <
- item
- TokenTypes = 4
- end
- item
- TagList.Strings = (
- 'class'
- 'procedure')
- TokenTypes = 4
- IgnoreCase = True
- end>
- BlockEnd = 'class end'
- NameFmt = '%s1 %s0'
- HighlightPos = cpAny
- IgnoreAsParent = False
- end
- item
- DisplayName = 'class end'
- BlockType = btRangeEnd
- ConditionList = <
- item
- TokenTypes = 4
- end
- item
- TagList.Strings = (
- 'end')
- TokenTypes = 4
- IgnoreCase = True
- end>
- SameIdent = True
- HighlightPos = cpAny
- IgnoreAsParent = False
- end
- item
- DisplayName = 'Block comment'
- BlockName = 'Block comment'
- NotParent = True
- ConditionList = <
- item
- TokenTypes = 2
- end>
- BlockEnd = 'Block comment end'
- DisplayInTree = False
- HighlightPos = cpAny
- IgnoreAsParent = False
- end
- item
- DisplayName = 'Block comment end'
- BlockType = btRangeEnd
- ConditionList = <
- item
- end
- item
- TokenTypes = 2
- end>
- BlockOffset = 1
- HighlightPos = cpAny
- IgnoreAsParent = False
- end>
- CodeTemplates = <>
- SubAnalyzers = <
- item
- DisplayName = 'Asm'
- StartExpression = '(?i)asm'#13#10
- EndExpression = '(?i)end'#13#10
- SyntAnalyzer = SyntAnalyzer13
- end>
- TokenTypeNames.Strings = (
- 'Unknown'
- 'Comment'
- 'Identifier'
- 'Symbol'
- 'String'
- 'Integer const'
- 'Float const'
- 'Hex const'
- 'Char const'
- 'Preprocessor')
- MarkedBlockStyle = 'Marked block'
- DefaultStyleName = 'Default'
- LexerName = 'Modula 2'
- end
-